#!/usr/bin/python
# -*- coding: UTF-8 -*-
# @Time    : 2023/11/19 14:49
# @Author  : 飞飞
from django.db import models


class BaseMixin(models.Model):
    status = models.IntegerField(default=0)  # 状态, 0正常，1下架，2删除
    create_time = models.DateTimeField(auto_now_add=True)
    update_time = models.DateTimeField(auto_now=True)

    class Meta:
        abstract = True



